<script id="task_list_tpl" type="text/html">

    {{# if(d.taskList == null  || d.taskList.length == 0){ }}
    <div class="nomore_tips"><p>没有更多任务啦</p></div>
    {{# } }}

    {{# if(d.taskList.length > 0){ }}
    <ul >
    {{# for(var i = 0 ; i < d.taskList.length ; i++){ }}
    <li class="item-content">
        <div class="item-inner">
            <div class="item-title">
                <p>{{d.taskList[i].task_index}}、{{d.taskList[i].task_date}}日拜访任务</p>
            </div>
            <div class="item-after"><a href="/task/currentList/{{d.taskList[i].id}}" class="button button-fill button-green external" task_id="{{d.taskList[i].id}}">查看</a></div>
        </div>
    </li>
    {{# } }}
    </ul>
    {{# } }}

</script>